package com.shunli.cterminal.model.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static com.examples.core.tool.utils.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @Author: 清水
 * @Date: 2025/4/16
 */
@Data
public class TempConfigOrder implements Serializable {

    private static final long serialVersionUID = -7264266394434158838L;

    @Schema(description = "红包金额")
    private BigDecimal abductBao;

    @Schema(description = "生日")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime birthday;

    @Schema(description = "支付域名")
    private String payDomain;

    @Schema(description = "支付渠道")
    private List<String> channelCode;

    @Schema(description = "实际付款")
    private BigDecimal realAmount;

    @Schema(description = "性别 1-男；0女 2未知")
    private Integer sex;

    @Schema(description = "付款状态(0-未付款 1-已付款)")
    private Integer state;

    private String taName;

    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime tbirthday;

    @Schema(description = "用户名称")
    private String userName;

    private String woName;

    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime wbirthday;

    @Schema(description = "原价")
    private BigDecimal yuanPrice;

    @Schema(description = "是否使用红包(1 使用红包 0 未使用)")
    private Integer isUseRedbag;
}
